<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-10 19:30:46 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git apply</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Patching">
                                Patching                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="399b1939868ad1b387c4f1d7651f3fc6fd5ca724882ac2deca60bf3d197ee975/9f" data-source="git-apply" onmousemove="i18n(this)">git-apply</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="b55ac3302ac07280ad073905ee4c4c514e227dadfb61e84dd50564a0ec634d8a/6e" data-source="git-apply - Apply a patch to files and/or to the index" onmousemove="i18n(this)">git-apply &mdash; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &pcy;&acy;&tcy;&chcy; &kcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy; &icy;/&icy;&lcy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-css">git apply <span class="hljs-selector-attr">[--stat]</span> <span class="hljs-selector-attr">[--numstat]</span> <span class="hljs-selector-attr">[--summary]</span> <span class="hljs-selector-attr">[--check]</span> <span class="hljs-selector-attr">[--index | --intent-to-add]</span> <span class="hljs-selector-attr">[--3way]</span>
          <span class="hljs-selector-attr">[--apply]</span> <span class="hljs-selector-attr">[--no-add]</span> <span class="hljs-selector-attr">[--build-fake-ancestor=&lt;file&gt;]</span> <span class="hljs-selector-attr">[-R | --reverse]</span>
          <span class="hljs-selector-attr">[--allow-binary-replacement | --binary]</span> <span class="hljs-selector-attr">[--reject]</span> <span class="hljs-selector-attr">[-z]</span>
          <span class="hljs-selector-attr">[-p&lt;n&gt;]</span> <span class="hljs-selector-attr">[-C&lt;n&gt;]</span> <span class="hljs-selector-attr">[--inaccurate-eof]</span> <span class="hljs-selector-attr">[--recount]</span> <span class="hljs-selector-attr">[--cached]</span>
          <span class="hljs-selector-attr">[--ignore-space-change | --ignore-whitespace]</span>
          <span class="hljs-selector-attr">[--whitespace=(nowarn|warn|fix|error|error-all)]</span>
          <span class="hljs-selector-attr">[--exclude=&lt;path&gt;]</span> <span class="hljs-selector-attr">[--include=&lt;path&gt;]</span> <span class="hljs-selector-attr">[--directory=&lt;root&gt;]</span>
          <span class="hljs-selector-attr">[--verbose | --quiet]</span> <span class="hljs-selector-attr">[--unsafe-paths]</span> <span class="hljs-selector-attr">[--allow-empty]</span> <span class="hljs-selector-attr">[&lt;patch&gt;&hellip;&ZeroWidthSpace;]</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="ac7319c502056dd4ccd443f5d49e557e439d279ae7f9bd3faaba0d2eb4ccf02e/1f" data-source="Reads the supplied diff output (i.e. &amp;quot;a patch&amp;quot;) and applies it to files. When running from a subdirectory in a repository, patched paths outside the directory are ignored. With the &lt;code&gt;--index&lt;/code&gt; option, the patch is also applied to the index, and with the &lt;code&gt;--cached&lt;/code&gt; option, the patch is only applied to the index. Without these options, the command applies the patch only to files, and does not require them to be in a Git repository." onmousemove="i18n(this)">&Scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy;&ycy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy; (&tcy;. &iecy;.  &quot;a patch&quot; ) &icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&khcy; &kcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;. &Pcy;&rcy;&icy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&iecy; &icy;&zcy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &pcy;&ucy;&tcy;&icy; &zcy;&acy; &pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&acy;&mcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;. &Scy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--index</code>  &pcy;&acy;&tcy;&chcy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;, &acy; &scy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--cached</code>  &pcy;&acy;&tcy;&chcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;. &Bcy;&iecy;&zcy; &ecy;&tcy;&icy;&khcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy; &icy; &ncy;&iecy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy;&icy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&lcy;&icy;&scy;&softcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  Git .</span></p> <p><span data-i18n="39dfbc5d95e75580ae2aa5637cd49c5f3864bb4abdc08b7afa030ca618ded626/95" data-source="This command applies the patch but does not create a commit. Use &lt;a href=&quot;git-am&quot;&gt;git-am[1]&lt;/a&gt; to create commits from patches generated by &lt;a href=&quot;git-format-patch&quot;&gt;git-format-patch[1]&lt;/a&gt; and/or received by email." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;, &ncy;&ocy; &ncy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy;. &Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <a href="git-am.html">git-am[1]</a>  &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &icy;&zcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&khcy;  <a href="git-format-patch.html">git-format-patch[1]</a>  &icy;/&icy;&lcy;&icy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &pcy;&ocy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&iecy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-apply.txt-ltpatchgt82308203"><span data-i18n="cd747f4d4bdbe813b23948eda03c2c7e7fa17ac3c6f05caf5a68f2088de6ab6f/7d" data-source="&amp;lt;patch&amp;gt;&amp;hellip;" onmousemove="i18n(this)">&lt;patch&gt;&hellip;</span></dt> <dd> <p><span data-i18n="4030e82d0d95826bc45c29479fdd8f19c1aa41c970571389eff9196d1ac56e0c/9f" data-source="The files to read the patch from. &lt;code&gt;-&lt;/code&gt; can be used to read from the standard input." onmousemove="i18n(this)">&Fcy;&acy;&jcy;&lcy;&ycy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&ucy;&zhcy;&ncy;&ocy; &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&tcy;&softcy; &pcy;&acy;&tcy;&chcy;.  <code>-</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &scy;&ocy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---stat"><span data-i18n="dcbfcaf7e3d31dca78e7804434254ee54852a4f6b5f54f3adcfdb3955f6f768e/5f" data-source="--stat" onmousemove="i18n(this)">--stat</span></dt> <dd> <p><span data-i18n="1eb00f4222a62b9fe5f06be11e0afd334cfcdd4abd9072955f65ac585946ab00/26" data-source="Instead of applying the patch, output diffstat for the input. Turns off &amp;quot;apply&amp;quot;." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&acy;&tcy;&chcy;&acy; &vcy;&ycy;&vcy;&iecy;&dcy;&icy;&tcy;&iecy; diffstat &ncy;&acy; &vcy;&khcy;&ocy;&dcy;. &Vcy;&ycy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy;&scy;&yacy;  &quot;apply&quot; .</span></p> </dd> <dt id="Documentation/git-apply.txt---numstat"><span data-i18n="1d4c79199e34613c9b3bfd37d25fa373f2acb5d3626b01832ce562d26a16e118/a4" data-source="--numstat" onmousemove="i18n(this)">--numstat</span></dt> <dd> <p><span data-i18n="c4da1191e6b213e35c9850aad0821857bcb0cd4c3a301def8fe07b554c4bb9c6/35" data-source="Similar to &lt;code&gt;--stat&lt;/code&gt;, but shows the number of added and deleted lines in decimal notation and the pathname without abbreviation, to make it more machine friendly. For binary files, outputs two &lt;code&gt;-&lt;/code&gt; instead of saying &lt;code&gt;0 0&lt;/code&gt;. Turns off &amp;quot;apply&amp;quot;." onmousemove="i18n(this)">&Pcy;&ocy;&khcy;&ocy;&zhcy; &ncy;&acy;  <code>--stat</code> , &ncy;&ocy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&tcy;&rcy;&ocy;&kcy; &vcy; &dcy;&iecy;&scy;&yacy;&tcy;&icy;&chcy;&ncy;&ocy;&jcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &icy; &pcy;&ucy;&tcy;&softcy; &bcy;&iecy;&zcy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&jcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &iecy;&gcy;&ocy; &bcy;&ocy;&lcy;&iecy;&iecy; &ucy;&dcy;&ocy;&bcy;&ncy;&ycy;&mcy; &dcy;&lcy;&yacy; &mcy;&acy;&shcy;&icy;&ncy;&ycy;. &Dcy;&lcy;&yacy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy; &dcy;&vcy;&acy;  <code>-</code>  &vcy;&mcy;&iecy;&scy;&tcy;&ocy;  <code>0 0</code>  . &Vcy;&ycy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy;  &quot;apply&quot; .</span></p> </dd> <dt id="Documentation/git-apply.txt---summary"><span data-i18n="a70d76ce0b3cccc19a7095152f8d434d716af2d8e230c90cc068c7ec8acce417/02" data-source="--summary" onmousemove="i18n(this)">--summary</span></dt> <dd> <p><span data-i18n="7ae2c9f5b5e204f1869f189c4ae0e866bb78c86e794bd48262c19b0853cc76b3/b0" data-source="Instead of applying the patch, output a condensed summary of information obtained from git diff extended headers, such as creations, renames, and mode changes. Turns off &amp;quot;apply&amp;quot;." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy;&vcy;&iecy;&dcy;&icy;&tcy;&iecy; &scy;&zhcy;&acy;&tcy;&ucy;&yucy; &scy;&vcy;&ocy;&dcy;&kcy;&ucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy;, &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ocy;&jcy; &icy;&zcy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&ncy;&ycy;&khcy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&ocy;&vcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy;  git , &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy;, &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy;. &Vcy;&ycy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy;&scy;&yacy;  &quot;apply&quot; .</span></p> </dd> <dt id="Documentation/git-apply.txt---check"><span data-i18n="931bd06269ec48ed673e7e4e2f7fa249be10b38da9dbda07f5e2da426504087d/8a" data-source="--check" onmousemove="i18n(this)">--check</span></dt> <dd> <p><span data-i18n="1fbd417b142c199564a0f312d3e3499f3289bb1ad9d976c1283dbb2fe07c4e78/53" data-source="Instead of applying the patch, see if the patch is applicable to the current working tree and/or the index file and detects errors. Turns off &amp;quot;apply&amp;quot;." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy;, &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&mcy;&ocy; &lcy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &kcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&mcy;&ucy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy;&ucy; &dcy;&iecy;&rcy;&iecy;&vcy;&ucy; &icy;/&icy;&lcy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ocy;&mcy;&ucy; &fcy;&acy;&jcy;&lcy;&ucy; &icy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &lcy;&icy; &ocy;&ncy;&ocy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;. &Vcy;&ycy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy;&scy;&yacy;  &quot;apply&quot; .</span></p> </dd> <dt id="Documentation/git-apply.txt---index"><span data-i18n="68a8ea7938f4e809457e7fa29310369200d3e546af36e7907fa385c0e74e831d/9c" data-source="--index" onmousemove="i18n(this)">--index</span></dt> <dd> <p><span data-i18n="2ccfb74c2a9bb4923d08865b07644bb19eceec5976fae695b31aa5f790200e18/2f" data-source="Apply the patch to both the index and the working tree (or merely check that it would apply cleanly to both if &lt;code&gt;--check&lt;/code&gt; is in effect). Note that &lt;code&gt;--index&lt;/code&gt; expects index entries and working tree copies for relevant paths to be identical (their contents and metadata such as file mode must match), and will raise an error if they are not, even if the patch would apply cleanly to both the index and the working tree in isolation." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &kcy;&acy;&kcy; &kcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;, &tcy;&acy;&kcy; &icy; &kcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy;&ucy; &dcy;&iecy;&rcy;&iecy;&vcy;&ucy; (&icy;&lcy;&icy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &ocy;&ncy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &kcy;&ocy;&rcy;&rcy;&iecy;&kcy;&tcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy;&scy;&yacy; &kcy; &ocy;&bcy;&ocy;&icy;&mcy;, &iecy;&scy;&lcy;&icy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>--check</code> ). &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy;  <code>--index</code>  &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &icy; &kcy;&ocy;&pcy;&icy;&icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &dcy;&lcy;&yacy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &pcy;&ucy;&tcy;&iecy;&jcy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&chcy;&ncy;&ycy;&mcy;&icy; (&icy;&khcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &icy; &mcy;&iecy;&tcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&iecy;, &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ycy;&jcy; &rcy;&iecy;&zhcy;&icy;&mcy;, &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&tcy;&softcy;), &icy; &vcy;&ycy;&dcy;&acy;&scy;&tcy; &ocy;&shcy;&icy;&bcy;&kcy;&ucy;, &iecy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &ncy;&iecy; &tcy;&acy;&kcy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&ocy; &kcy;&acy;&kcy; &kcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;, &tcy;&acy;&kcy; &icy; &kcy; &fcy;&acy;&jcy;&lcy;&ucy;. &icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &icy;&zcy;&ocy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---cached"><span data-i18n="f604ffb1a6e88411905b4560d28e36c07a126b2b39e06cb7da585ccc5c4a356e/42" data-source="--cached" onmousemove="i18n(this)">--cached</span></dt> <dd> <p><span data-i18n="1265bb2cf80b954d43645bdeaad959dce7d644c5a1da17ea1b45ef0b3698c18b/90" data-source="Apply the patch to just the index, without touching the working tree. If &lt;code&gt;--check&lt;/code&gt; is in effect, merely check that it would apply cleanly to the index entry." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &pcy;&acy;&tcy;&chcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;, &ncy;&iecy; &zcy;&acy;&tcy;&rcy;&acy;&gcy;&icy;&vcy;&acy;&yacy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;. &IEcy;&scy;&lcy;&icy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>--check</code> , &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &ocy;&ncy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---intent-to-add"><span data-i18n="c24b7f38b8788fab551b11c4999cb810f352d4585dcae53b832f494a284b20ea/48" data-source="--intent-to-add" onmousemove="i18n(this)">--intent-to-add</span></dt> <dd> <p><span data-i18n="96760be3c23c6779739d92654057d9dfa72d52a3bd2e66abe62097a7bb89d77e/ef" data-source="When applying the patch only to the working tree, mark new files to be added to the index later (see &lt;code&gt;--intent-to-add&lt;/code&gt; option in &lt;a href=&quot;git-add&quot;&gt;git-add[1]&lt;/a&gt;). This option is ignored unless running in a Git repository and &lt;code&gt;--index&lt;/code&gt; is not specified. Note that &lt;code&gt;--index&lt;/code&gt; could be implied by other options such as &lt;code&gt;--cached&lt;/code&gt; or &lt;code&gt;--3way&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &pcy;&acy;&tcy;&chcy;&acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy;&ucy; &dcy;&iecy;&rcy;&iecy;&vcy;&ucy; &ocy;&tcy;&mcy;&iecy;&chcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &pcy;&ocy;&zcy;&zhcy;&iecy; (&scy;&mcy;. &ocy;&pcy;&tscy;&icy;&yucy;  <code>--intent-to-add</code>  &vcy;  <a href="git-add.html">git-add[1]</a> ). &Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  Git  &icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--index</code> . &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy;  <code>--index</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;&mcy;&icy;, &tcy;&acy;&kcy;&icy;&mcy;&icy; &kcy;&acy;&kcy;  <code>--cached</code>  &icy;&lcy;&icy;  <code>--3way</code> .</span></p> </dd> <dt id="Documentation/git-apply.txt--3"><span data-i18n="615bdd17c2556f82f384392ea8557f8cc88b03501c759e23093ab0b2a9b5cd48/ab" data-source="-3" onmousemove="i18n(this)">-3</span></dt> <dt id="Documentation/git-apply.txt---3way"><span data-i18n="bce76bdb7e3d4f090ab05e4b1bb67d7405fb78c283da4488a58589763c7eaf24/83" data-source="--3way" onmousemove="i18n(this)">--3way</span></dt> <dd> <p><span data-i18n="b35d0600cab98198dcfc8fa8b9166a0bd30fde80476ae6ae46726f059fab6c31/7c" data-source="Attempt 3-way merge if the patch records the identity of blobs it is supposed to apply to and we have those blobs available locally, possibly leaving the conflict markers in the files in the working tree for the user to resolve. This option implies the &lt;code&gt;--index&lt;/code&gt; option unless the &lt;code&gt;--cached&lt;/code&gt; option is used, and is incompatible with the &lt;code&gt;--reject&lt;/code&gt; option. When used with the &lt;code&gt;--cached&lt;/code&gt; option, any conflicts are left at higher stages in the cache." onmousemove="i18n(this)">&Pcy;&ocy;&pcy;&ycy;&tcy;&acy;&jcy;&tcy;&iecy;&scy;&softcy; &tcy;&rcy;&iecy;&khcy;&scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ncy;&iecy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ycy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&khcy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &kcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &ocy;&ncy;&ocy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy;&scy;&yacy;, &icy; &ecy;&tcy;&icy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&iecy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &ocy;&scy;&tcy;&acy;&vcy;&icy;&vcy; &mcy;&acy;&rcy;&kcy;&iecy;&rcy;&ycy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &vcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &mcy;&ocy;&gcy; &icy;&khcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--index</code> , &iecy;&scy;&lcy;&icy; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--cached</code> , &icy; &ncy;&iecy;&scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&icy;&mcy;&acy; &scy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--reject</code> . &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &scy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--cached</code>  &lcy;&yucy;&bcy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &ocy;&scy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &ncy;&acy; &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&ycy;&scy;&ocy;&kcy;&icy;&khcy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;&khcy; &kcy;&ecy;&shcy;&acy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---build-fake-ancestorltfilegt"><span data-i18n="af87fd51987efccbd4537a75e82496fcaca9afe289ab3242e9671ac5ace28048/c3" data-source="--build-fake-ancestor=&amp;lt;file&amp;gt;" onmousemove="i18n(this)">--build-fake-ancestor=&lt;file&gt;</span></dt> <dd> <p><span data-i18n="dc718d0be8a56e1ace3d47de0f5fe952535449cfd32c8a529f577b8feb4bcccc/dd" data-source="Newer &lt;code&gt;git diff&lt;/code&gt; output has embedded &lt;code&gt;index information&lt;/code&gt; for each blob to help identify the original version that the patch applies to. When this flag is given, and if the original versions of the blobs are available locally, builds a temporary index containing those blobs." onmousemove="i18n(this)">&Vcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ncy;&ocy;&vcy;&ycy;&khcy; &vcy;&ycy;&khcy;&ocy;&dcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;  <code>git diff</code>  &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&gcy;&ocy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &vcy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;  <code>index information</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&mcy;&ocy;&chcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &vcy;&iecy;&rcy;&scy;&icy;&yucy;, &kcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;. &IEcy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy; &ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &icy; &iecy;&scy;&lcy;&icy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&khcy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;, &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &ecy;&tcy;&icy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&iecy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy;.</span></p> <p><span data-i18n="87ff44bdee32ddfb8b2fec7ea77d27c0540b2980be2f33e8d211bd11ec5421ab/61" data-source="When a pure mode change is encountered (which has no index information), the information is read from the current index instead." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy; &chcy;&icy;&scy;&tcy;&ocy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy; (&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &ocy;&bcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;), &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yacy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;.</span></p> </dd> <dt id="Documentation/git-apply.txt--R"><span data-i18n="dcd721f8f8b3e495d987c362617a4b959d26564e45fdcae0a107479440066e93/f9" data-source="-R" onmousemove="i18n(this)">-R</span></dt> <dt id="Documentation/git-apply.txt---reverse"><span data-i18n="ff6f480d21f060000603ced38b5ac57e97f0984516513d1b392e9a3d34cd5288/13" data-source="--reverse" onmousemove="i18n(this)">--reverse</span></dt> <dd> <p><span data-i18n="f600515e9846b48f085df9bd3ef35a878b5e9a6895451ba2fb7ffcd11409d96b/1a" data-source="Apply the patch in reverse." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &pcy;&lcy;&acy;&scy;&tcy;&ycy;&rcy;&softcy; &vcy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy;&mcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---reject"><span data-i18n="2d48b72c20d2661068e5fbe62f7746664b9db3a8d8e293a30c140eb8fb5b136c/a1" data-source="--reject" onmousemove="i18n(this)">--reject</span></dt> <dd> <p><span data-i18n="eb0fd6c39888f8e4e1cf169a50c53b2235d3cb1e07367c987dba46ca4fa932b4/45" data-source="For atomicity, &lt;code&gt;git apply&lt;/code&gt; by default fails the whole patch and does not touch the working tree when some of the hunks do not apply. This option makes it apply the parts of the patch that are applicable, and leave the rejected hunks in corresponding *.rej files." onmousemove="i18n(this)">&CHcy;&tcy;&ocy; &kcy;&acy;&scy;&acy;&iecy;&tcy;&scy;&yacy; &acy;&tcy;&ocy;&mcy;&acy;&rcy;&ncy;&ocy;&scy;&tcy;&icy;,  <code>git apply</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&yacy;&iecy;&tcy; &vcy;&iecy;&scy;&softcy; &pcy;&acy;&tcy;&chcy; &icy; &ncy;&iecy; &zcy;&acy;&tcy;&rcy;&acy;&gcy;&icy;&vcy;&acy;&iecy;&tcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;, &kcy;&ocy;&gcy;&dcy;&acy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ycy; &ncy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&mcy;&ycy;&iecy; &chcy;&acy;&scy;&tcy;&icy; &pcy;&acy;&tcy;&chcy;&acy; &icy; &ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ycy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy; *.rej.</span></p> </dd> <dt id="Documentation/git-apply.txt--z"><span data-i18n="cac3c371c8f2e17e79214e0fae22255e0f1fad169bac56d2f8a10d7fd54846cb/4d" data-source="-z" onmousemove="i18n(this)">-z</span></dt> <dd> <p><span data-i18n="34de315fed42226df3fe9601ac12042e16d12d5613d63b02a9d45377eb045fe7/17" data-source="When &lt;code&gt;--numstat&lt;/code&gt; has been given, do not munge pathnames, but use a NUL-terminated machine-readable format." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--numstat</code> , &ncy;&iecy; &mcy;&iecy;&ncy;&yacy;&jcy;&tcy;&iecy; &icy;&mcy;&iecy;&ncy;&acy; &pcy;&ucy;&tcy;&iecy;&jcy;, &acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &mcy;&acy;&shcy;&icy;&ncy;&ocy;&chcy;&icy;&tcy;&acy;&iecy;&mcy;&ycy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &scy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&acy;&yucy;&shchcy;&icy;&mcy; NUL.</span></p> <p><span data-i18n="58262d9a02c1c78589334e2e344613d9222b4a53317ab2e4ff22e8c9adedf54b/6f" data-source="Without this option, pathnames with &amp;quot;unusual&amp;quot; characters are quoted as explained for the configuration variable &lt;code&gt;core.quotePath&lt;/code&gt; (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Bcy;&iecy;&zcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &icy;&mcy;&iecy;&ncy;&acy; &pcy;&ucy;&tcy;&iecy;&jcy; &scy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&acy;&mcy;&icy;  &quot;unusual&quot;  &zcy;&acy;&kcy;&lcy;&yucy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy;, &kcy;&acy;&kcy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.quotePath</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ).</span></p> </dd> <dt id="Documentation/git-apply.txt--pltngt"><span data-i18n="524a36047bd83eaf2e468e0d81109688b59a5bf3609250c92d207a8ff37c27e3/bf" data-source="-p&amp;lt;n&amp;gt;" onmousemove="i18n(this)">-p&lt;n&gt;</span></dt> <dd> <p><span data-i18n="05c6dd7ceef555e651bc6bd996147b94ed42c28beb21ed9109bb67ddc1e07224/20" data-source="Remove &amp;lt;n&amp;gt; leading path components (separated by slashes) from traditional diff paths. E.g., with &lt;code&gt;-p2&lt;/code&gt;, a patch against &lt;code&gt;a/dir/file&lt;/code&gt; will be applied directly to &lt;code&gt;file&lt;/code&gt;. The default is 1." onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &lt;n&gt; &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy;&ocy;&vcy; &ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; (&rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ocy;&jcy;) &icy;&zcy; &tcy;&rcy;&acy;&dcy;&icy;&tscy;&icy;&ocy;&ncy;&ncy;&ycy;&khcy; &pcy;&ucy;&tcy;&iecy;&jcy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yacy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy;  <code>-p2</code>  &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;  <code>a/dir/file</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&ocy; &ncy;&iecy;&pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &kcy;  <code>file</code> . &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; 1.</span></p> </dd> <dt id="Documentation/git-apply.txt--Cltngt"><span data-i18n="28dfc08a4753ddcdaa7195e40407151f2e3f0fee783b2765300019fbca24db75/bc" data-source="-C&amp;lt;n&amp;gt;" onmousemove="i18n(this)">-C&lt;n&gt;</span></dt> <dd> <p><span data-i18n="ce38dac6b98d6b7f21af0c39a224c37b1bc90c1206bcaf9c2c5052b9a41c1bcb/4e" data-source="Ensure at least &amp;lt;n&amp;gt; lines of surrounding context match before and after each change. When fewer lines of surrounding context exist they all must match. By default no context is ever ignored." onmousemove="i18n(this)">&Ucy;&bcy;&iecy;&dcy;&icy;&tcy;&iecy;&scy;&softcy;, &chcy;&tcy;&ocy; &ncy;&iecy; &mcy;&iecy;&ncy;&iecy;&iecy; &lt;n&gt; &scy;&tcy;&rcy;&ocy;&kcy; &ocy;&kcy;&rcy;&ucy;&zhcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&yucy;&tcy; &dcy;&ocy; &icy; &pcy;&ocy;&scy;&lcy;&iecy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &Kcy;&ocy;&gcy;&dcy;&acy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy; &ocy;&kcy;&rcy;&ucy;&zhcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy;, &vcy;&scy;&iecy; &ocy;&ncy;&icy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&tcy;&softcy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ncy;&icy; &ocy;&dcy;&icy;&ncy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy; &ncy;&iecy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---unidiff-zero"><span data-i18n="16a6f7a19ca3528a7c4e581c27d2214140d9938049f5164946d4e677423eb11c/1b" data-source="--unidiff-zero" onmousemove="i18n(this)">--unidiff-zero</span></dt> <dd> <p><span data-i18n="3d27c2f640bdf63dc7705f00421bcb814729e06e3e380a4420d8251a7e599a12/87" data-source="By default, &lt;code&gt;git apply&lt;/code&gt; expects that the patch being applied is a unified diff with at least one line of context. This provides good safety measures, but breaks down when applying a diff generated with &lt;code&gt;--unified=0&lt;/code&gt;. To bypass these checks use &lt;code&gt;--unidiff-zero&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;  <code>git apply</code>  &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&mcy;&ocy;&iecy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &ucy;&ncy;&icy;&fcy;&icy;&tscy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &scy; &ocy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&jcy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy;. &Ecy;&tcy;&ocy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &khcy;&ocy;&rcy;&ocy;&shcy;&icy;&iecy; &mcy;&iecy;&rcy;&ycy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy;, &ncy;&ocy; &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &pcy;&rcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &rcy;&acy;&zcy;&ncy;&icy;&tscy;&ycy;, &scy;&gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--unified=0</code> . &CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&bcy;&ocy;&jcy;&tcy;&icy; &ecy;&tcy;&icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>--unidiff-zero</code> .</span></p> <p><span data-i18n="c18076417ae26c92ba05eaffd5c54892642d0532be7af407a6076706464c652d/a8" data-source="Note, for the reasons stated above, the usage of context-free patches is discouraged." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;: &pcy;&ocy; &pcy;&rcy;&icy;&chcy;&icy;&ncy;&acy;&mcy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy; &vcy;&ycy;&shcy;&iecy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&ncy;&ocy;-&scy;&vcy;&ocy;&bcy;&ocy;&dcy;&ncy;&ycy;&khcy; &pcy;&acy;&tcy;&chcy;&iecy;&jcy; &ncy;&iecy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---apply"><span data-i18n="712826b304390da68a904cadbfab9a2bdcaf498cbd2203fa309f411ab2073c9b/5a" data-source="--apply" onmousemove="i18n(this)">--apply</span></dt> <dd> <p><span data-i18n="c7ec3b8bbfc3a29cffd14982f53a059783c5f520da24f02952cfd7e18b48bc5f/a3" data-source="If you use any of the options marked &amp;quot;Turns off &lt;code&gt;apply&lt;/code&gt;&amp;quot; above, &lt;code&gt;git apply&lt;/code&gt; reads and outputs the requested information without actually applying the patch. Give this flag after those flags to also apply the patch." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy; &lcy;&yucy;&bcy;&ucy;&yucy; &icy;&zcy; &ocy;&pcy;&tscy;&icy;&jcy;, &ocy;&tcy;&mcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &vcy;&ycy;&shcy;&iecy;  &quot;Turns off   <code>apply</code>  &quot; ,  <code>git apply</code>  &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &icy; &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy; &zcy;&acy;&pcy;&rcy;&ocy;&shcy;&iecy;&ncy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &bcy;&iecy;&zcy; &fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&gcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;. &Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &pcy;&ocy;&scy;&lcy;&iecy; &ecy;&tcy;&icy;&khcy; &fcy;&lcy;&acy;&gcy;&ocy;&vcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---no-add"><span data-i18n="9628a512cd5976819e25baba706bbbe4ce4b5cd2ee981ae770b810eaf22e43b9/ef" data-source="--no-add" onmousemove="i18n(this)">--no-add</span></dt> <dd> <p><span data-i18n="3797a754f706d66d7fbdd912898292ead84b286bafe58d0a3b09b8041550d77d/25" data-source="When applying a patch, ignore additions made by the patch. This can be used to extract the common part between two files by first running &lt;code&gt;diff&lt;/code&gt; on them and applying the result with this option, which would apply the deletion part but not the addition part." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&yacy; &pcy;&acy;&tcy;&chcy;, &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &icy;&mcy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&shchcy;&iecy;&jcy; &chcy;&acy;&scy;&tcy;&icy; &mcy;&iecy;&zhcy;&dcy;&ucy; &dcy;&vcy;&ucy;&mcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;&icy;, &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&vcy; &kcy; &ncy;&icy;&mcy;  <code>diff</code>  &icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &scy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &chcy;&acy;&scy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy;, &ncy;&ocy; &ncy;&iecy; &chcy;&acy;&scy;&tcy;&softcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---allow-binary-replacement"><span data-i18n="99788a41527ae769832db5889d8f937c78fc741cb7485564f8d4b482e713c92c/f0" data-source="--allow-binary-replacement" onmousemove="i18n(this)">--allow-binary-replacement</span></dt> <dt id="Documentation/git-apply.txt---binary"><span data-i18n="b2280f1ed7db6af916f05c6636fb40cfa3349346898700ff67989a2ddd297efc/a4" data-source="--binary" onmousemove="i18n(this)">--binary</span></dt> <dd> <p><span data-i18n="6a5c66cb58cb1982eabb0e8cbe0e9c9e9e6d9d4f4298ebccaa24f18fe14d3d54/a1" data-source="Historically we did not allow binary patch application without an explicit permission from the user, and this flag was the way to do so. Currently, we always allow binary patch application, so this is a no-op." onmousemove="i18n(this)">&Icy;&scy;&tcy;&ocy;&rcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &mcy;&ycy; &ncy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&lcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &bcy;&iecy;&zcy; &yacy;&vcy;&ncy;&ocy;&gcy;&ocy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;, &icy; &ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &bcy;&ycy;&lcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&ocy;&mcy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;. &Vcy; &ncy;&acy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy; &mcy;&ycy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&iecy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &ecy;&tcy;&ocy; &ncy;&iecy;&dcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&mcy;&ocy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---excludeltpath-patterngt"><span data-i18n="7b649ed8f3f41767a141c74df27bf74f8d6a73b92cab80c9117ca455efe0c107/93" data-source="--exclude=&amp;lt;path-pattern&amp;gt;" onmousemove="i18n(this)">--exclude=&lt;path-pattern&gt;</span></dt> <dd> <p><span data-i18n="f7c09699a9d8577ada3b0aec9c942d8f248a68815650cf9cd73c38ef9150cf24/31" data-source="Don&amp;rsquo;t apply changes to files matching the given path pattern. This can be useful when importing patchsets, where you want to exclude certain files or directories." onmousemove="i18n(this)">&Ncy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &kcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&mcy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy; &pcy;&ucy;&tcy;&icy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &pcy;&rcy;&icy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&iecy; &ncy;&acy;&bcy;&ocy;&rcy;&ocy;&vcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---includeltpath-patterngt"><span data-i18n="f4c5af5a1d82ac54c0913c278d26ca7354e9b8629d8f5f8d0439ab488afe2354/88" data-source="--include=&amp;lt;path-pattern&amp;gt;" onmousemove="i18n(this)">--include=&lt;path-pattern&gt;</span></dt> <dd> <p><span data-i18n="02809347fb6263025ee4d7474ae73eb86928bc4417af7ae4076367c811204997/26" data-source="Apply changes to files matching the given path pattern. This can be useful when importing patchsets, where you want to include certain files or directories." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &kcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&mcy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy; &pcy;&ucy;&tcy;&icy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &pcy;&rcy;&icy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&iecy; &ncy;&acy;&bcy;&ocy;&rcy;&ocy;&vcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;.</span></p> <p><span data-i18n="5d07bd7f65898ef7e41a570e967185445b11af0f8fddc923df8f4e6b94fb428f/50" data-source="When &lt;code&gt;--exclude&lt;/code&gt; and &lt;code&gt;--include&lt;/code&gt; patterns are used, they are examined in the order they appear on the command line, and the first match determines if a patch to each path is used. A patch to a path that does not match any include/exclude pattern is used by default if there is no include pattern on the command line, and ignored if there is any include pattern." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&vcy;  <code>--exclude</code>  &icy;  <code>--include</code>  &ocy;&ncy;&icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&yucy;&tcy;&scy;&yacy; &vcy; &tcy;&ocy;&mcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy; &ocy;&ncy;&icy; &pcy;&ocy;&yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;, &icy; &pcy;&iecy;&rcy;&vcy;&ocy;&iecy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&iecy;&ncy;&icy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &lcy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy;. &Icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ncy;&icy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy;/&icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &ncy;&iecy;&tcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy;, &icy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &kcy;&acy;&kcy;&ocy;&jcy;-&lcy;&icy;&bcy;&ocy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---ignore-space-change"><span data-i18n="d4e4651d4bd56f6ecb4a953585b2b9c22e5c24821a93229916cb80a777f82866/61" data-source="--ignore-space-change" onmousemove="i18n(this)">--ignore-space-change</span></dt> <dt id="Documentation/git-apply.txt---ignore-whitespace"><span data-i18n="36566985c3cd427bca35a5990cbf1bde8d4022e9f183cc87724768ebb399c8c5/fe" data-source="--ignore-whitespace" onmousemove="i18n(this)">--ignore-whitespace</span></dt> <dd> <p><span data-i18n="ca41dcdbc25fa5c27e17e65a65b7f3b3eaab9f82d133a624061a2acf1cf6b405/c7" data-source="When applying a patch, ignore changes in whitespace in context lines if necessary. Context lines will preserve their whitespace, and they will not undergo whitespace fixing regardless of the value of the &lt;code&gt;--whitespace&lt;/code&gt; option. New lines will still be fixed, though." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &pcy;&acy;&tcy;&chcy;&acy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&khcy; &vcy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&ncy;&ycy;&khcy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;&khcy;, &iecy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;. &Scy;&tcy;&rcy;&ocy;&kcy;&icy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&tcy; &scy;&vcy;&ocy;&icy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ycy; &icy; &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&ocy;&dcy;&vcy;&iecy;&rcy;&gcy;&acy;&tcy;&softcy;&scy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yucy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy; &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--whitespace</code> . &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &ncy;&ocy;&vcy;&ycy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy;&scy;&iecy; &rcy;&acy;&vcy;&ncy;&ocy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---whitespaceltactiongt"><span data-i18n="cbd5504b502622093dffc970cdd2a5cea0801fa6e9f2381b8b9944640e4c2b20/92" data-source="--whitespace=&amp;lt;action&amp;gt;" onmousemove="i18n(this)">--whitespace=&lt;action&gt;</span></dt> <dd> <p><span data-i18n="34b571c8c53aa65f69634fee2b38175e9758c13e05dd797dc95c8dd28985b4e8/e1" data-source="When applying a patch, detect a new or modified line that has whitespace errors. What are considered whitespace errors is controlled by &lt;code&gt;core.whitespace&lt;/code&gt; configuration. By default, trailing whitespaces (including lines that solely consist of whitespaces) and a space character that is immediately followed by a tab character inside the initial indent of the line are considered whitespace errors." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ucy;&yucy; &icy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&ucy;&yucy; &ocy;&shcy;&icy;&bcy;&kcy;&icy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;. &Tcy;&ocy;, &chcy;&tcy;&ocy; &scy;&chcy;&icy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&ocy;&jcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;, &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&iecy;&jcy;  <code>core.whitespace</code> . &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ycy;&iecy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ycy; (&vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &scy;&ocy;&scy;&tcy;&ocy;&yacy;&shchcy;&icy;&iecy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &icy;&zcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;) &icy; &scy;&icy;&mcy;&vcy;&ocy;&lcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;, &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&rcy;&acy;&zcy;&ucy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy; &tcy;&acy;&bcy;&ucy;&lcy;&yacy;&tscy;&icy;&icy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy; &ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&tcy;&ucy;&pcy;&acy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &scy;&chcy;&icy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;&mcy;&icy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;.</span></p> <p><span data-i18n="5472a3bc34f2bbe7ff85b66368f517938a1f13a54ce12b6055e78d1b1b7bad06/ae" data-source="By default, the command outputs warning messages but applies the patch. When &lt;code&gt;git-apply&lt;/code&gt; is used for statistics and not applying a patch, it defaults to &lt;code&gt;nowarn&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&acy;&yucy;&shchcy;&icy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;, &ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;. &Kcy;&ocy;&gcy;&dcy;&acy;  <code>git-apply</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&kcy;&icy; &bcy;&iecy;&zcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>nowarn</code> .</span></p> <p><span data-i18n="fd55af41426bf382c2eb49f43c362eb62a8b1967050abf57305dddea0f5f5e52/f5" data-source="You can use different &lt;code&gt;&amp;lt;action&amp;gt;&lt;/code&gt; values to control this behavior:" onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;  <code>&lt;action&gt;</code>  &dcy;&lcy;&yacy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &ecy;&tcy;&icy;&mcy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;&mcy;:</span></p> <div> <ul> <li> <p><span data-i18n="a1e6dbe0fb22bd3cf7cf6bd50741b93083610a5f53cd83e2087c4176e142ffe6/38" data-source="&lt;code&gt;nowarn&lt;/code&gt; turns off the trailing whitespace warning." onmousemove="i18n(this)"><code>nowarn</code>  &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy; &ocy; &kcy;&ocy;&ncy;&tscy;&iecy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;.</span></p> </li> <li> <p><span data-i18n="f438f7c5070dfe9618bd4f849a37dd882eafcb1f557a49727725b8a3f550e7d6/62" data-source="&lt;code&gt;warn&lt;/code&gt; outputs warnings for a few such errors, but applies the patch as-is (default)." onmousemove="i18n(this)"><code>warn</code>  &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &ocy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &tcy;&acy;&kcy;&icy;&khcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;&khcy;, &ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &laquo;&kcy;&acy;&kcy; &iecy;&scy;&tcy;&softcy;&raquo; (&pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;).</span></p> </li> <li> <p><span data-i18n="a348f81e81b51554052e9af6c73a59a7125a83a198860893bbf9dc417f1fdc89/d2" data-source="&lt;code&gt;fix&lt;/code&gt; outputs warnings for a few such errors, and applies the patch after fixing them (&lt;code&gt;strip&lt;/code&gt; is a synonym &amp;mdash; the tool used to consider only trailing whitespace characters as errors, and the fix involved &lt;code&gt;stripping&lt;/code&gt; them, but modern Gits do more)." onmousemove="i18n(this)"><code>fix</code>  &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &tcy;&acy;&kcy;&icy;&khcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &icy;&khcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; ( <code>strip</code>  &mdash; &ecy;&tcy;&ocy; &scy;&icy;&ncy;&ocy;&ncy;&icy;&mcy; &mdash; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&mcy;&iecy;&ncy;&tcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&jcy; &dcy;&lcy;&yacy; &rcy;&acy;&scy;&scy;&mcy;&ocy;&tcy;&rcy;&iecy;&ncy;&icy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ycy;&khcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ocy;&vcy; &kcy;&acy;&kcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;, &icy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&lcy;&ocy; &icy;&khcy;  <code>stripping</code> , &ncy;&ocy; &scy;&ocy;&vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; Gits &dcy;&iecy;&lcy;&acy;&yucy;&tcy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy;).</span></p> </li> <li> <p><span data-i18n="4a5ca03555cc704c2b81dda538f71446db5a8b7392814b029213f320db981a63/bb" data-source="&lt;code&gt;error&lt;/code&gt; outputs warnings for a few such errors, and refuses to apply the patch." onmousemove="i18n(this)"><code>error</code>  &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &tcy;&acy;&kcy;&icy;&khcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;&khcy; &icy; &ocy;&tcy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;.</span></p> </li> <li> <p><span data-i18n="64b6a02ca5c3d9099e66483bf97ce32a9824a44ddd469d6f9fe0ad258db99415/7c" data-source="&lt;code&gt;error-all&lt;/code&gt; is similar to &lt;code&gt;error&lt;/code&gt; but shows all errors." onmousemove="i18n(this)"><code>error-all</code>  &acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&iecy;&ncy;  <code>error</code> , &ncy;&ocy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &vcy;&scy;&iecy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;.</span></p> </li> </ul> </div> </dd> <dt id="Documentation/git-apply.txt---inaccurate-eof"><span data-i18n="e86ac9c79c48847a6d84142499f8f316f7ba3dff4bd7841b8e508dccec17b0f9/b3" data-source="--inaccurate-eof" onmousemove="i18n(this)">--inaccurate-eof</span></dt> <dd> <p><span data-i18n="47cfbcfb00035a980d5f3a2f0ee5165147bbd923f23dd3a7dca968b6596eb9ae/82" data-source="Under certain circumstances, some versions of &lt;code&gt;diff&lt;/code&gt; do not correctly detect a missing new-line at the end of the file. As a result, patches created by such &lt;code&gt;diff&lt;/code&gt; programs do not record incomplete lines correctly. This option adds support for applying such patches by working around this bug." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&scy;&tcy;&ocy;&yacy;&tcy;&iecy;&lcy;&softcy;&scy;&tcy;&vcy;&acy;&khcy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy;  <code>diff</code>  &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy; &ncy;&ocy;&vcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;. &Vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy; &pcy;&acy;&tcy;&chcy;&icy;, &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&iecy; &tcy;&acy;&kcy;&icy;&mcy;&icy; &pcy;&rcy;&ocy;&gcy;&rcy;&acy;&mcy;&mcy;&acy;&mcy;&icy;  <code>diff</code> , &ncy;&iecy;&kcy;&ocy;&rcy;&rcy;&iecy;&kcy;&tcy;&ncy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy; &ncy;&iecy;&pcy;&ocy;&lcy;&ncy;&ycy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;. &Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&kcy;&ucy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &tcy;&acy;&kcy;&icy;&khcy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &pcy;&ucy;&tcy;&iecy;&mcy; &ocy;&bcy;&khcy;&ocy;&dcy;&acy; &ecy;&tcy;&ocy;&jcy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-apply.txt--v"><span data-i18n="81c36ccd44ef18baabad6e2d87038b72d606263bd6a3432b964a872023654fff/7c" data-source="-v" onmousemove="i18n(this)">-v</span></dt> <dt id="Documentation/git-apply.txt---verbose"><span data-i18n="bff1e8d3adf9e53481e9b21876983b359dc8a231bf7ebadde36a42dd7bd4db5c/93" data-source="--verbose" onmousemove="i18n(this)">--verbose</span></dt> <dd> <p><span data-i18n="1d1be47d502d734efcfdaccb112a8e626376f1fc15adf1d27679462eb3694f59/9f" data-source="Report progress to stderr. By default, only a message about the current patch being applied will be printed. This option will cause additional information to be reported." onmousemove="i18n(this)">&Scy;&ocy;&ocy;&bcy;&shchcy;&acy;&jcy;&tcy;&iecy; &ocy; &khcy;&ocy;&dcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; stderr. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&acy;&scy;&pcy;&iecy;&chcy;&acy;&tcy;&acy;&ncy;&ocy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &pcy;&acy;&tcy;&chcy;&acy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yucy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-apply.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dt id="Documentation/git-apply.txt---quiet"><span data-i18n="b00818cdc507640687732769ee1cb501db377927ee76d03df23978bd0d706888/e2" data-source="--quiet" onmousemove="i18n(this)">--quiet</span></dt> <dd> <p><span data-i18n="328158492c66c98ce1a1c8fa05f631148b14e8c5ab2d70c7c465747e81656817/41" data-source="Suppress stderr output. Messages about patch status and progress will not be printed." onmousemove="i18n(this)">&Pcy;&ocy;&dcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&ycy;&vcy;&ocy;&dcy; stderr. &Scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&iecy; &icy; &pcy;&rcy;&ocy;&gcy;&rcy;&iecy;&scy;&scy;&iecy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &rcy;&acy;&scy;&pcy;&iecy;&chcy;&acy;&tcy;&acy;&ncy;&ycy;.</span></p> </dd> <dt id="Documentation/git-apply.txt---recount"><span data-i18n="4ff9f995d0306415825b75dfc3ac2cea0e6b284793f18204a0ab1dd325723cfb/57" data-source="--recount" onmousemove="i18n(this)">--recount</span></dt> <dd> <p><span data-i18n="876cff1ea24ca0b2dcea5565fe1f0f833cdfd2492fca20bef6529efeaade77d5/02" data-source="Do not trust the line counts in the hunk headers, but infer them by inspecting the patch (e.g. after editing the patch without adjusting the hunk headers appropriately)." onmousemove="i18n(this)">&Ncy;&iecy; &dcy;&ocy;&vcy;&iecy;&rcy;&yacy;&jcy;&tcy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ucy; &scy;&tcy;&rcy;&ocy;&kcy; &vcy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&acy;&khcy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy;, &acy; &dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy; &vcy;&ycy;&vcy;&ocy;&dcy;&ycy;, &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&yacy; &pcy;&acy;&tcy;&chcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ocy;&scy;&lcy;&iecy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&acy;&tcy;&chcy;&acy; &bcy;&iecy;&zcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&ocy;&vcy; &fcy;&rcy;&acy;&gcy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy;).</span></p> </dd> <dt id="Documentation/git-apply.txt---directoryltrootgt"><span data-i18n="4b915c17cc08e93eec5e2ed12b8804fb3cbc270515438d2a90272b1e54662fcb/bf" data-source="--directory=&amp;lt;root&amp;gt;" onmousemove="i18n(this)">--directory=&lt;root&gt;</span></dt> <dd> <p><span data-i18n="b53395c86617d80aa850abf3bffac4c15999e2f32efe0304e98f64ec9541a0c9/2d" data-source="Prepend &amp;lt;root&amp;gt; to all filenames. If a &amp;quot;-p&amp;quot; argument was also passed, it is applied before prepending the new root." onmousemove="i18n(this)">&Dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&jcy;&tcy;&iecy; &lt;root&gt; &kcy;&ocy; &vcy;&scy;&iecy;&mcy; &icy;&mcy;&iecy;&ncy;&acy;&mcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;. &IEcy;&scy;&lcy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &bcy;&ycy;&lcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&ncy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;  &quot;-p&quot; , &ocy;&ncy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&dcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;&mcy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &kcy;&ocy;&rcy;&ncy;&yacy;.</span></p> <p><span data-i18n="f629d24e1f115c30c3f845ed62fc1a4adcb687b5939910d50bbe68aecf1f9575/0c" data-source="For example, a patch that talks about updating &lt;code&gt;a/git-gui.sh&lt;/code&gt; to &lt;code&gt;b/git-gui.sh&lt;/code&gt; can be applied to the file in the working tree &lt;code&gt;modules/git-gui/git-gui.sh&lt;/code&gt; by running &lt;code&gt;git apply --directory=modules/git-gui&lt;/code&gt;." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&acy;&tcy;&chcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy; &gcy;&ocy;&vcy;&ocy;&rcy;&icy;&tcy;&scy;&yacy; &ocy;&bcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&icy;  <code>a/git-gui.sh</code>  &dcy;&ocy;  <code>b/git-gui.sh</code> , &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &kcy; &fcy;&acy;&jcy;&lcy;&ucy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;  <code>modules/git-gui/git-gui.sh</code> , &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&vcy;  <code>git apply --directory=modules/git-gui</code> .</span></p> </dd> <dt id="Documentation/git-apply.txt---unsafe-paths"><span data-i18n="1634b71d27b9acf192509b37dd19019fd1535a9c15bf8776f6dff24c937a94c4/8c" data-source="--unsafe-paths" onmousemove="i18n(this)">--unsafe-paths</span></dt> <dd> <p><span data-i18n="082e839085e95cbbf7171e8e408b5c7355e55108a4c07d42074e290ceb699ce1/f8" data-source="By default, a patch that affects outside the working area (either a Git controlled working tree, or the current working directory when &amp;quot;git apply&amp;quot; is used as a replacement of GNU patch) is rejected as a mistake (or a mischief)." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&acy;&tcy;&chcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&lcy;&icy;&yacy;&iecy;&tcy; &zcy;&acy; &pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&ycy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&jcy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&icy; (&lcy;&icy;&bcy;&ocy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;, &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&mcy;&ocy;&iecy;  Git , &lcy;&icy;&bcy;&ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &kcy;&ocy;&gcy;&dcy;&acy;  &quot;git apply&quot;  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &zcy;&acy;&mcy;&iecy;&ncy;&ycy; &pcy;&acy;&tcy;&chcy;&acy; GNU), &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy; (&icy;&lcy;&icy; &vcy;&rcy;&iecy;&dcy;).</span></p> <p><span data-i18n="374eb7468753ef38966a07fc51f3c5e5118154c779c5b85557a200be4486bce9/a5" data-source="When &lt;code&gt;git apply&lt;/code&gt; is used as a &amp;quot;better GNU patch&amp;quot;, the user can pass the &lt;code&gt;--unsafe-paths&lt;/code&gt; option to override this safety check. This option has no effect when &lt;code&gt;--index&lt;/code&gt; or &lt;code&gt;--cached&lt;/code&gt; is in use." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy;  <code>git apply</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy;  &quot;better GNU patch&quot; , &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--unsafe-paths</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &ecy;&tcy;&ucy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&ucy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ncy;&iecy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>--index</code>  &icy;&lcy;&icy;  <code>--cached</code> .</span></p> </dd> <dt id="Documentation/git-apply.txt---allow-empty"><span data-i18n="4c5c1cb42a46fae41c6f4e44631e24be2f480e5d1361d68fe96892ec9b76fd6a/0b" data-source="--allow-empty" onmousemove="i18n(this)">--allow-empty</span></dt> <dd> <p><span data-i18n="d667689067bc779a3acb470e43be65098c8e479ae906852a21996d5727a86845/5d" data-source="Don&amp;rsquo;t return an error for patches containing no diff. This includes empty patches and patches with commit text only." onmousemove="i18n(this)">&Ncy;&iecy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&shchcy;&acy;&jcy;&tcy;&iecy; &ocy;&shcy;&icy;&bcy;&kcy;&ucy; &dcy;&lcy;&yacy; &pcy;&acy;&tcy;&chcy;&iecy;&jcy;, &ncy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&khcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy;. &Scy;&yucy;&dcy;&acy; &vcy;&khcy;&ocy;&dcy;&yacy;&tcy; &pcy;&ucy;&scy;&tcy;&ycy;&iecy; &pcy;&acy;&tcy;&chcy;&icy; &icy; &pcy;&acy;&tcy;&chcy;&icy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &tcy;&iecy;&kcy;&scy;&tcy;&ocy;&mcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="5b8d919fa35b75aa925ebd5414ed6373e762fb0a087a062961c27b2ce9586555/57" data-source="Everything below this line in this section is selectively included from the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; documentation. The content is the same as what&amp;rsquo;s found there:" onmousemove="i18n(this)">&Vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;, &vcy;&ycy;&bcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &icy;&zcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&icy;  <a href="git-config.html">git-config[1]</a> . &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&iecy; &tcy;&acy;&kcy;&ocy;&iecy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ocy;&iecy; &tcy;&acy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-apply.txt-applyignoreWhitespace"><span data-i18n="10fc7b4fb38972c40ff321e56847adfce33e8b604d70afaee9542491c421cfd3/ce" data-source="apply.ignoreWhitespace" onmousemove="i18n(this)">apply.ignoreWhitespace</span></dt> <dd> <p><span data-i18n="17bb26808d4bd11276562aab5c7bb7beebe838273822595afa3e4ce805dae6f0/2a" data-source="When set to &lt;code&gt;change&lt;/code&gt;, tells &lt;code&gt;git apply&lt;/code&gt; to ignore changes in whitespace, in the same way as the &lt;code&gt;--ignore-space-change&lt;/code&gt; option. When set to one of: no, none, never, false, it tells &lt;code&gt;git apply&lt;/code&gt; to respect all whitespace differences. See &lt;a href=&quot;git-apply&quot;&gt;git-apply[1]&lt;/a&gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>change</code>  ,  <code>git apply</code>  &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;  <code>git apply</code>  &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&khcy; &tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--ignore-space-change</code> . &IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &ocy;&dcy;&ncy;&ocy; &icy;&zcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&jcy;: &ncy;&iecy;&tcy;, &ncy;&iecy;&tcy;, &ncy;&icy;&kcy;&ocy;&gcy;&dcy;&acy;, &lcy;&ocy;&zhcy;&softcy;,  <code>git apply</code>  &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ncy;&ucy;&zhcy;&ncy;&ocy; &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&yacy; &vcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&khcy;. &Scy;&mcy;.  <a href="git-apply.html">git-apply[1]</a> .</span></p> </dd> <dt id="Documentation/git-apply.txt-applywhitespace"><span data-i18n="14e9ed6af4d9f164e5e574378cc6ad5a2c4d3ef64acdb9e9dcb83b29d057d208/3f" data-source="apply.whitespace" onmousemove="i18n(this)">apply.whitespace</span></dt> <dd> <p><span data-i18n="bcee5c54bddbdf815e159a9adb367f8f2d5d970fa0ba1bd104a1719d6714a703/b8" data-source="Tells &lt;code&gt;git apply&lt;/code&gt; how to handle whitespace, in the same way as the &lt;code&gt;--whitespace&lt;/code&gt; option. See &lt;a href=&quot;git-apply&quot;&gt;git-apply[1]&lt;/a&gt;." onmousemove="i18n(this)">&Scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;  <code>git apply</code> , &kcy;&acy;&kcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ycy;, &tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--whitespace</code> . &Scy;&mcy;.  <a href="git-apply.html">git-apply[1]</a> .</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_submodules"><span data-i18n="164d7e819605edf514e288a42414763d89425de061681e362909e064c857d7ea/21" data-source="Submodules" onmousemove="i18n(this)">Submodules</span></h2> <div> <p><span data-i18n="fa25dea25eeb93d89edda9bfb88b527202e075f1733f941de4b2c0979e6a594c/38" data-source="If the patch contains any changes to submodules then &lt;code&gt;git apply&lt;/code&gt; treats these changes as follows." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &pcy;&acy;&tcy;&chcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &kcy;&acy;&kcy;&icy;&iecy;-&lcy;&icy;&bcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &scy;&ucy;&bcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;&khcy;, &tcy;&ocy;  <code>git apply</code>  &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &ecy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;.</span></p> <p><span data-i18n="ae8f181d356709c9dc7b6030a9df1ba090e9254b19bcac1027bc05d2494350fe/41" data-source="If &lt;code&gt;--index&lt;/code&gt; is specified (explicitly or implicitly), then the submodule commits must match the index exactly for the patch to apply. If any of the submodules are checked-out, then these check-outs are completely ignored, i.e., they are not required to be up to date or clean and they are not updated." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--index</code>  (&yacy;&vcy;&ncy;&ocy; &icy;&lcy;&icy; &ncy;&iecy;&yacy;&vcy;&ncy;&ocy;), &tcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &tcy;&ocy;&chcy;&ncy;&ocy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;. &IEcy;&scy;&lcy;&icy; &kcy;&acy;&kcy;&icy;&iecy;-&lcy;&icy;&bcy;&ocy; &icy;&zcy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&iecy;&jcy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ycy;, &tcy;&ocy; &ecy;&tcy;&icy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&lcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;, &tcy;. &iecy;. &ocy;&ncy;&icy; &ncy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &acy;&kcy;&tcy;&ucy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;&icy; &icy;&lcy;&icy; &chcy;&icy;&scy;&tcy;&ycy;&mcy;&icy; &icy; &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;.</span></p> <p><span data-i18n="a13796e2f6d1a1529719a969b9b38315febcc7396b86e54cc522d739b599c352/cc" data-source="If &lt;code&gt;--index&lt;/code&gt; is not specified, then the submodule commits in the patch are ignored and only the absence or presence of the corresponding subdirectory is checked and (if possible) updated." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy;  <code>--index</code>  &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;, &tcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy; &vcy; &pcy;&acy;&tcy;&chcy;&iecy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy; (&iecy;&scy;&lcy;&icy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;) &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy; &icy;&lcy;&icy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><span data-i18n="e339d5320b455286f455b6157114c8d4c47539f4f09ba1f78cfb3ffb3dfca7ad/dd" data-source="&lt;a href=&quot;git-am&quot;&gt;git-am[1]&lt;/a&gt;." onmousemove="i18n(this)"><a href="git-am.html">git-am[1]</a>.</span></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-apply">https://git-scm.com/docs/git-apply</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-archimport.html">
                            git archimport                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-archive.html">
                            git archive                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-bisect.html">
                            git bisect                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-bisect-lk2009.html">
                            git bisect-lk2009                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-blame.html">
                            git blame                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-branch.html">
                            git branch                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-bugreport.html">
                            git bugreport                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-apply.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>